package com.echronos.payment.commons.cpcn.strategy;

import com.echronos.payment.commons.cpcn.config.ReceiveNoticeHandler;
import com.echronos.payment.commons.cpcn.enums.ReceiveNoticeEnums;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import payment.api.notice.Notice4608Request;
import payment.api.notice.NoticeRequest;

/**
 * 交易权限开通情况通知
 *
 * @Author wangyadong
 * @Date 2023/11/14 10:37
 * @ClassName CpcnTx4608Strategy
 */
@Slf4j
@Service
@ReceiveNoticeHandler(value = ReceiveNoticeEnums.CPCN_4608)
public class CpcnTx4608Strategy implements ReceiveNoticeStrategy {
    /**
     * 交易权限开通情况通知
     *
     * @param request
     */
    @Override
    public void handleNotice(NoticeRequest request) throws Exception {
        Notice4608Request nr = new Notice4608Request(request.getDocument());

    }
}
